home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
tttar.z
/
tttar
Wrap
Text File
|
1998-10-30
|
9KB
|
199 lines
ttttttttttttaaaarrrr((((1111)))) ttttttttttttaaaarrrr((((1111))))
NNNNAAAAMMMMEEEE
tttar - (de)archive files and ToolTalk objects
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
ttttttttttttaaaarrrr {{{{cccc||||tttt||||xxxx}}}} [ ffffhhhhppppvvvv ] [ _t_a_r_f_i_l_e ] _p_a_t_h_n_a_m_e ...
ttttttttttttaaaarrrr {{{{cccc||||tttt||||xxxx}}}} ffffLLLL [ hhhhppppRRRRvvvv ] _t_t_t_a_r_f_i_l_e [[ ----rrrreeeennnnaaaammmmeeee _o_l_d_n_a_m_e _n_e_w_n_a_m_e ] ... ]
_p_a_t_h_n_a_m_e ...
ttttttttttttaaaarrrr ----vvvv
ttttttttttttaaaarrrr ----hhhh[[[[eeeellllpppp]]]]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
ttttttttttttaaaarrrr has two fundamentally different modes. Without the LLLL function
modifier, ttttttttttttaaaarrrr acts as a ToolTalk-aware wrapper for ttttaaaarrrr(1), archiving
(or extracting) multiple files and their TT objects onto (or from) a
single archive, called a _t_a_r_f_i_l_e. With the LLLL function modifier, ttttttttttttaaaarrrr
does not invoke ttttaaaarrrr to archive actual files, but instead archives (or
extracts) only TT objects onto (or from) a single archive, called a
_t_t_t_a_r_f_i_l_e. Since without the LLLL function modifier ttttttttttttaaaarrrr acts like an TT-
aware ttttaaaarrrr(1), the discussion below will be phrased as if the LLLL function
modifier is in effect. That is, we will refer to _t_t_t_a_r_f_i_l_e_s instead of
_t_a_r_f_i_l_e_s, and we will discuss (de)archiving only "the TT objects of the
named files" rather than (de)archiving both "the named files _a_n_d their TT
objects".
ttttttttttttaaaarrrr's actions are controlled by the first argument, the _k_e_y, a string
of characters containing exactly one function letter from the set ccccttttxxxx,
and one or more of the optional function modifiers listed below. Other
arguments to ttttttttttttaaaarrrr are file or directory names that specify which files
to archive or extract TT objects for. By default, the appearance of a
directory name refers recursively to the files and subdirectories of that
directory.
FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN LLLLEEEETTTTTTTTEEEERRRRSSSS
cccc Create a new _t_t_t_a_r_f_i_l_e and write the TT objects of the named files
onto it.
tttt List the table of contents of the _t_t_t_a_r_f_i_l_e.
xxxx Extract the TT objects of the named files from the _t_t_t_a_r_f_i_l_e. If a
named file matches a directory with contents written onto the tape,
this directory is (recursively) extracted. The owner and
modification time of the TT objects are restored (if possible). If
no _f_i_l_e_n_a_m_e arguments are given, the TT objects of all files named
in the archive are extracted.
FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN MMMMOOOODDDDIIIIFFFFIIIIEEEERRRRSSSS
ffff Use the next argument as the name of the _t_t_t_a_r_f_i_l_e. If _t_t_t_a_r_f_i_l_e is
given as `----', ttttttttttttaaaarrrr writes to the standard output or reads from the
standard input, whichever is appropriate.
PPPPaaaaggggeeee 1111
ttttttttttttaaaarrrr((((1111)))) ttttttttttttaaaarrrr((((1111))))
hhhh Follow symbolic links as if they were normal files or directories.
Normally, ttttttttttttaaaarrrr does not follow symbolic links.
pppp Preserve. Restore the named files to their original modes, ignoring
the present uuuummmmaaaasssskkkk(2). SetUID and sticky information are also
extracted if you are the super-user. This option is only useful
with the xxxx function letter, and has no meaning if the LLLL function
letter is given.
LLLL Do not invoke ttttaaaarrrr(1). Must be used with the ffff function modifier,
since reading and writing an ttttttttttttaaaarrrr archive directly to or from
magnetic tape is unimplemented.
RRRR Do not recurse into directories. Valid only with the LLLL function
modifier.
vvvv Verbose. Normally ttttttttttttaaaarrrr does its work silently; this option
displays the name of each file ttttttttttttaaaarrrr treats, preceded by the
function letter.
OOOOPPPPTTTTIIIIOOOONNNNSSSS
----rrrreeeennnnaaaammmmeeee
Takes the next two arguments as an _o_l_d_n_a_m_e and a _n_e_w_n_a_m_e,
respectively, and renames any entry archived as _o_l_d_n_a_m_e to _n_e_w_n_a_m_e.
If _o_l_d_n_a_m_e is a directory, then its entries are recursively renamed,
as well. If more than one ----rrrreeeennnnaaaammmmeeee option applies to an entry
(because of 1 or more parent directories being renamed), the most
specific ----rrrreeeennnnaaaammmmeeee option applies. The ----rrrreeeennnnaaaammmmeeee option is only allowed
with the LLLL function modifier.
----hhhh Print usage information for ttttttttttttaaaarrrr.
----vvvv Print the version of ttttttttttttaaaarrrr.
FFFFIIIILLLLEEEESSSS
////mmmmoooouuuunnnnttttppppooooiiiinnnntttt////TTTTTTTT____DDDDBBBB This directory is used as a database for the
ToolTalk objects of files in the filesystem
mounted at /_m_o_u_n_t_p_o_i_n_t.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
ttttaaaarrrr(1), ttttttttccccooooppppyyyy(1), ttttttttsssseeeessssssssiiiioooonnnn(1), ttttttttddddbbbbcccckkkk(8)
BBBBUUUUGGGGSSSS
When extracting from a ttttaaaarrrr archive that is given to ttttttttttttaaaarrrr either on
magnetic tape or on the standard input, the current working directory
must be writable, so that the _t_t_t_a_r_f_i_l_e can be placed there temporarily.
Writing and reading _t_t_t_a_r_f_i_l_e_s (i.e., archives produced with the LLLL
function modifier) directly to and from magnetic tape is unimplemented.
PPPPaaaaggggeeee 2222
ttttttttttttaaaarrrr((((1111)))) ttttttttttttaaaarrrr((((1111))))
The rrrr and uuuu function letters of ttttaaaarrrr(1), for incrementally updating an
archive, are not supported.
The XXXX and FFFF function modifiers and the ----IIII option of ttttaaaarrrr(1), for including
or excluding files from being archived based on SCCS status or being
listed in a special file, are not supported.
The wwww function modifier and the ----CCCC option of ttttaaaarrrr(1), for pausing or
changing directories between the files listed on the command line, are
not supported.
A file does not have to exist for an TT object to be associated with its
pathname. When ttttttttttttaaaarrrr descends into a directory, it does not attempt to
archive the objects associated with any files that do not exist in the
directory.
PPPPaaaaggggeeee 3333